﻿using System;
using System.Web;
using System.Web.Routing;
using System.Web.SessionState;

namespace ManagedUIFlow.Application
{
    public class AppHttpHandler : UrlRoutingHandler, IRequiresSessionState
    {

        protected override void VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext)
        {
            if (httpHandler == null)
            {
                throw new ArgumentNullException("httpHandler");
            }

            httpHandler.ProcessRequest(HttpContext.Current);
        }
    }
}